package com.ocean.web.controller.index;

import com.ocean.inxex.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 简介
 */
@Controller
@RequestMapping("/home")
public class SynopsisController {
    private String prefix = "index";

    /**
     * 跳转到简介
     * @return
     */
    @GetMapping("/synopsis")
    public String index()
    {
        return prefix + "/synopsis/synopsis";
    }
}
